package com.lanxin.handler;

/**
 * 自定义异常
 * @author cyh
 * @create 2025-09-18 8:45
 */
public class BaseException extends RuntimeException {
    private final int code;

    public BaseException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
